home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Graphics / GraphicsWorkshop / Source / makecontrols < prev    next >
Text File  |  1994-05-01  |  517b  |  19 lines

  1. #!/bin/csh -f
  2.  
  3. set infile  = "NXBitmapImageRepControl.m"
  4. set outfile = "Bitmap.controls"
  5. #set outpath = "/LocalLibrary/Converters"
  6. set outpath = "."
  7.  
  8. echo "cc `allArchs` $1 -c $infile"
  9. cc `allArchs` $1 -c $infile
  10. #echo "ld -r NXBitmapImageRepControl.o -lm -o $outpath/$outfile"
  11. #ld -r NXBitmapImageRepControl.o -lm -o $outpath/$outfile
  12.  
  13. set outname = `basename $infile .m`
  14.  
  15. if ( $2 == "1" ) then
  16.     echo "mv $outpath/$outname.o ~/Library/Converters/$outfile"
  17.     mv $outpath/$outname.o ~/Library/Converters/$outfile
  18. endif
  19.